


chrome.extension.onMessage.addListener(function(request, sender, sendResponse){
    if(request.greeting =="smsCode") {
    	var winId = sender.tab.windowId;
    	var smsCode = getSMSCode(request.No);
    	console.log('监听到了winId的请求：',winId);
    	sendResponse({smsCode:smsCode});
    }
});